﻿using System.Web;
using System.Web.Optimization;

namespace SimpleQueryExample
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/kendo").Include(
                //"~/Scripts/kendo/2013.3.1119/jquery.min.js",
          "~/Scripts/kendo/2013.3.1119/kendo.core.min.js"
         , "~/Scripts/kendo/2013.3.1119/kendo.web.min.js"
         , "~/Scripts/kendo/2013.3.1119/kendo.grid.min.js"
         , "~/Scripts/kendo/2013.3.1119/kendo.window.min.js"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/site.css"));
            //bundles.Add(new ScriptBundle("~/bundles/SimpleQuery").Include(
            // "~/Scripts/SimpleQuery.js"));
            bundles.Add(new StyleBundle("~/Content/kendoui").Include(
                  "~/Content/kendo/2013.3.1119/kendo.common.min.css",
               "~/Content/kendo/2013.3.1119/kendo.bootstrap.min.css"
               ));

            //bundles.Add(new StyleBundle("~/Content/SimpleQuery").Include(
            //    "~/Content/TreeView/css/treeviews.css"
            //    ));
        }
    }
}
